<%@ page import="java.util.Enumeration" %><%--
  Created by IntelliJ IDEA.
  User: acer
  Date: 2024/9/19
  Time: 15:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录信息 | request对象</title>
</head>
<body bgcolor="#ccffcc">
<h1>您刚才输入的内容是:</h1>
<%
    Enumeration enu = request.getParameterNames();
    // 循环枚举里的多个属性名

    while (enu.hasMoreElements()){
        String paramterName = (String)enu.nextElement();
        String paramterValue = request.getParameter(paramterName);
        out.print("参数名称:"+paramterName + "<br>");
        out.print("参数名称:"+paramterValue + "<br>");
    }
%>
</body>
</html>
